import http from "../utils/http";
export default {
    add(productId, productName, productPic, productPrice, productSubTitle) {
        return http.post("/member/productCollection/add", { productId, productName, productPic, productPrice, productSubTitle })
    },
    clear() {
        return http.post("/member/productCollection/clear")
    },
    delete(productIds) {
        return http.posts("/member/productCollection/delete",{productIds})
    },
    detail(productId) {
        return http.get("/member/productCollection/detail", { productId })
    },
    list(pageNum, pageSize) {
        return http.get("/member/productCollection/list", { pageNum, pageSize })
    }
}